]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
background: Add copied content from pending image loads to the cache
authorJasper St. Pierre <jstpierre@mecheye.net>
Tue, 3 Dec 2013 23:09:23 +0000 (18:09 -0500)
committerJasper St. Pierre <jstpierre@mecheye.net>
Wed, 4 Dec 2013 00:13:12 +0000 (19:13 -0500)
https://bugzilla.gnome.org/show_bug.cgi?id=719803

js/ui/background.js

index 1d9f55c8a647f0ce9602f7fcf2b62bdca1e6567c..885e96ba64481d7a3f6a91449c17399c6596386d 100644 (file)
@@ -188,6 +188,7 @@ const BackgroundCache = new Lang.Class({
                                                           if (content && pendingLoad.callers[j].shouldCopy) {
                                                               newContent = content.copy(pendingLoad.callers[j].monitorIndex,
                                                                                         pendingLoad.callers[j].effects);
+                                                              this._images.push(newContent);
                                                           } else {
                                                               newContent = content;
                                                           }